;(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
  [888],
  {
    6871: function (n, t, e) {
      'use strict'
      e.d(t, {
        IO: function () {
          return s
        },
        g0: function () {
          return l
        },
        r$: function () {
          return d
        },
        qe: function () {
          return g
        },
        Kc: function () {
          return h
        },
        sk: function () {
          return r
        },
        gw: function () {
          return c
        },
      })
      var a = e(4155),
        r = !0,
        i = 'uat' === a.env.BUILD_ENV,
        o = 'https://seo1.atbgovernor.com',
        u = 'https://www.ey4.cn',
        c = i ? 'https://seoh5.atbgovernor.com' : 'https://m.ey4.cn',
        s = '_q_r_',
        l = {
          h5: 'https://h5.adhqvx.com/?utm_source=ey4_SEO',
          iosUrl: 'https://h5.ey4.top/',
          pc_down: 'https://downloads.atmobin.com/source/material/ey4_SEO.zip',
          about: '/about_us/',
          calendar: '/caijingrili/',
          download_app: '/app/',
          download_web: '/ruanjian/',
          search: '/search.html',
          product: '/product/',
          article: '/wz/',
          analysis: '/hangqingfenxi/',
          navAnalysis: '/hangqingfenxi/',
          CreateAccount:
            '../huangjintouzikaihu/?utm_source=ey4_seo&utm_medium=AAT_156',
          CreateAccountSimulation:
            '/monikaihu/?utm_source=ey4_seo&utm_medium=AAT_156',
          encyclopedia: '/zt/',
        },
        d = {
          seo: 453,
          dailyAnalysis: 460,
          FuturesGold: 454,
          PreciousMetals: 455,
          GoldEncyclopedia: 456,
          PaperGold: 457,
          LondonGold: 458,
          GoldTD: 459,
          partnerLink: 284894,
          encyclopediaOthers: 461,
          about: 284895,
          topModules: [
            [285522, 285594, 286020, 286079, 285501],
            [286985, 286039, 286038, 287438, 286076],
            [286088, 286055, 286021, 285600, 285553],
            [286080, 285553, 286063, 286098, 286037],
          ],
          ads: { index: 1, registerBottom: 15, academyBottom: 2 },
          download: {
            app: [284897, 285050, 285051],
            pc: [284896, 285052, 285053],
          },
        }
      i &&
        ((l.h5 = 'https://h5.atbgovernor.com/'),
        (l.iosUrl = 'https://h5.atbgovernor.com'),
        (d.dailyAnalysis = 295),
        (d.encyclopediaOthers = 297),
        (d.seo = 285),
        (d.FuturesGold = 289),
        (d.PreciousMetals = 290),
        (d.GoldEncyclopedia = 291),
        (d.PaperGold = 292),
        (d.LondonGold = 293),
        (d.GoldTD = 294),
        (d.partnerLink = 154311),
        (d.about = 254093),
        (d.topModules = [[252604], [252604], [252604], [252604]]),
        (d.ads = { index: 1, registerBottom: 15, academyBottom: 2 }),
        (d.download = {
          app: [252720, 252720, 252720],
          pc: [253709, 253709, 253709],
        })),
        r ||
          ((l.article = '/wz/0/'),
          (l.navAnalysis = '/hangqingfenxi/list/all/0'))
      d.seo,
        d.dailyAnalysis,
        d.encyclopediaOthers,
        d.FuturesGold,
        d.PreciousMetals,
        d.GoldEncyclopedia,
        d.PaperGold,
        d.LondonGold,
        d.GoldTD
      var g = {
          hq_zhihuangjin: {
            id: d.PaperGold,
            text: '\u7eb8\u9ec4\u91d1',
            imgsrc: ''.concat(i ? o : u, '/CN/live_charts/goldcny_pool.gif'),
            path: '/hq_zhihuangjin/',
            navPath: '/zhihuangjin/',
            navListPath: r ? '/zhihuangjin/' : '/academyList/zhihuangjin/0/',
          },
          hq_lundunjin: {
            id: d.LondonGold,
            text: '\u4f26\u6566\u91d1',
            imgsrc: ''.concat(i ? o : u, '/CN/live_charts/goldcn.gif'),
            path: '/hq_lundunjin/',
            navPath: '/lundunjin/',
            navListPath: r ? '/lundunjin/' : '/academyList/lundunjin/0/',
          },
          hq_huangjintd: {
            id: d.GoldTD,
            text: '\u9ec4\u91d1TD',
            imgsrc: ''.concat(i ? o : u, '/CN/live_charts/goldcn.gif'),
            path: '/hq_huangjintd/',
            navPath: '/huangjintd/',
            navListPath: r ? '/huangjintd/' : '/academyList/huangjintd/0/',
          },
          hq_huangjinqihuo: {
            id: d.FuturesGold,
            text: '\u9ec4\u91d1\u671f\u8d27',
            imgsrc: 'https://image.cngold.org/chart/futures/gold/aum.gif',
            path: '/hq_huangjinqihuo/',
            navPath: '/huangjinqihuo/',
            navListPath: r
              ? '/huangjinqihuo/'
              : '/academyList/huangjinqihuo/0/',
          },
        },
        h = {
          huangjinqihuo: {
            id: d.FuturesGold,
            text: '\u671f\u8d27\u9ec4\u91d1',
            path: '/huangjinqihuo/',
            listPath: r ? '/huangjinqihuo/' : '/academyList/huangjinqihuo/0/',
            marketPath: '/hq_zhihuangjin/',
            imgsrc: 'https://image.cngold.org/chart/futures/gold/aum.gif',
          },
          guijinshutouzi: {
            id: d.PreciousMetals,
            text: '\u8d35\u91d1\u5c5e\u6295\u8d44',
            path: '/guijinshutouzi/',
            listPath: r ? '/guijinshutouzi/' : '/academyList/guijinshutouzi/0/',
            marketPath: '/hq_huangjintd/',
            imgsrc: ''.concat(i ? o : u, '/CN/live_charts/goldcn.gif'),
          },
          huangjintouzi: {
            id: d.GoldEncyclopedia,
            text: '\u9ec4\u91d1\u6295\u8d44',
            path: '/huangjintouzi/',
            listPath: r ? '/huangjintouzi/' : '/academyList/huangjintouzi/0/',
            marketPath: '/hq_huangjintd/',
            imgsrc: ''.concat(i ? o : u, '/CN/live_charts/goldcn.gif'),
          },
          zhihuangjin: {
            id: d.PaperGold,
            text: '\u7eb8\u9ec4\u91d1\u6295\u8d44',
            path: '/zhihuangjin/',
            listPath: r ? '/zhihuangjin/' : '/academyList/zhihuangjin/0/',
            marketPath: '/hq_zhihuangjin/',
            imgsrc: ''.concat(i ? o : u, '/CN/live_charts/goldcny_pool.gif'),
          },
          lundunjin: {
            id: d.LondonGold,
            text: '\u4f26\u6566\u91d1\u6295\u8d44',
            path: '/lundunjin/',
            listPath: r ? '/lundunjin/' : '/academyList/lundunjin/0/',
            marketPath: '/hq_huangjintd/',
            imgsrc: ''.concat(i ? o : u, '/CN/live_charts/goldcn.gif'),
          },
          huangjintd: {
            id: d.GoldTD,
            text: '\u9ec4\u91d1TD',
            path: '/huangjintd/',
            listPath: r ? '/huangjintd/' : '/academyList/huangjintd/0/',
            marketPath: '/hq_zhihuangjin/',
            imgsrc: ''.concat(i ? o : u, '/CN/live_charts/goldcny_pool.gif'),
          },
        }
    },
    2551: function (n, t, e) {
      'use strict'
      e.r(t)
      var a = e(9499),
        r = e(7294),
        i = e(4324),
        o = e(6871),
        u = e(1163),
        c = (e(2797), e(5893))
      function s(n, t) {
        var e = Object.keys(n)
        if (Object.getOwnPropertySymbols) {
          var a = Object.getOwnPropertySymbols(n)
          t &&
            (a = a.filter(function (t) {
              return Object.getOwnPropertyDescriptor(n, t).enumerable
            })),
            e.push.apply(e, a)
        }
        return e
      }
      function l(n) {
        for (var t = 1; t < arguments.length; t++) {
          var e = null != arguments[t] ? arguments[t] : {}
          t % 2
            ? s(Object(e), !0).forEach(function (t) {
                ;(0, a.Z)(n, t, e[t])
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e))
            : s(Object(e)).forEach(function (t) {
                Object.defineProperty(
                  n,
                  t,
                  Object.getOwnPropertyDescriptor(e, t)
                )
              })
        }
        return n
      }
      t.default = function (n) {
        var t = n.Component,
          e = n.pageProps,
          a = (0, u.useRouter)()
        ;(0, r.useEffect)(function () {
          var n = {},
            t = (0, i.KJ)(o.IO)
          Object.assign(n, t, a.query), (0, i.Xq)(o.IO, n)
        }, [])
        var s =
          t.getLayout ||
          function (n) {
            return n
          }
        return (0, c.jsxs)(c.Fragment, {
          children: [
            s((0, c.jsx)(t, l({}, e))),
            (0, c.jsx)('script', {
              type: 'text/javascript',
              dangerouslySetInnerHTML: {
                __html:
                  '\n        var _hmt = window._hmt || [];\n        (function() {\n          var hm = document.createElement("script");\n          hm.src = "https://hm.baidu.com/hm.js?113ea99d4937ee211f89a13a0892b638";\n          var s = document.getElementsByTagName("script")[0]; \n          s.parentNode.insertBefore(hm, s);\n        })();\n      ',
              },
            }),
            (0, c.jsx)('script', {
              async: !0,
              src: 'https://www.googletagmanager.com/gtag/js?id=UA-186463756-1',
            }),
            (0, c.jsx)('script', {
              type: 'text/javascript',
              dangerouslySetInnerHTML: {
                __html:
                  "\n            window.dataLayer = window.dataLayer || [];\n            function gtag(){dataLayer.push(arguments);}\n            gtag('js', new Date());\n            \n            gtag('config', 'UA-186463756-1');\n      ",
              },
            }),
          ],
        })
      }
    },
    4324: function (n, t, e) {
      'use strict'
      e.d(t, {
        p6: function () {
          return u
        },
        V_: function () {
          return c
        },
        rZ: function () {
          return s
        },
        nU: function () {
          return l
        },
        Xq: function () {
          return d
        },
        KJ: function () {
          return g
        },
        c3: function () {
          return h
        },
        ny: function () {
          return m
        },
      })
      var a = e(9499),
        r = e(6871)
      function i(n, t) {
        var e = Object.keys(n)
        if (Object.getOwnPropertySymbols) {
          var a = Object.getOwnPropertySymbols(n)
          t &&
            (a = a.filter(function (t) {
              return Object.getOwnPropertyDescriptor(n, t).enumerable
            })),
            e.push.apply(e, a)
        }
        return e
      }
      function o(n) {
        for (var t = 1; t < arguments.length; t++) {
          var e = null != arguments[t] ? arguments[t] : {}
          t % 2
            ? i(Object(e), !0).forEach(function (t) {
                ;(0, a.Z)(n, t, e[t])
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e))
            : i(Object(e)).forEach(function (t) {
                Object.defineProperty(
                  n,
                  t,
                  Object.getOwnPropertyDescriptor(e, t)
                )
              })
        }
        return n
      }
      var u = function (n) {
          var t = new Date(n),
            e = t.getUTCFullYear(),
            a = t.getUTCMonth() + 1,
            r = t.getDate(),
            i = t.getHours(),
            u = t.getMinutes(),
            c = t.getSeconds(),
            s = {
              year: e,
              month: a > 9 ? a : '0' + a,
              day: r > 9 ? r : '0' + r,
              hours: i > 9 ? i : '0' + i,
              minus: u > 9 ? u : '0' + u,
              sec: c > 9 ? c : '0' + c,
            }
          return o(
            o({}, s),
            {},
            {
              date: ''.concat(s.year, '-').concat(s.month, '-').concat(s.day),
              datetime: ''
                .concat(s.year, '-')
                .concat(s.month, '-')
                .concat(s.day, ' ')
                .concat(s.hours, ':')
                .concat(s.hours, ':')
                .concat(s.minus),
            }
          )
        },
        c = function (n) {
          var t =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : '-',
            e =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : ':'
          if (n) {
            var a = u(n),
              r = a.year,
              i = a.month,
              o = a.day,
              c = a.hours,
              s = a.minus,
              l = a.sec
            return ''
              .concat(r)
              .concat(t)
              .concat(i)
              .concat(t)
              .concat(o, ' ')
              .concat(c)
              .concat(e)
              .concat(s)
              .concat(e)
              .concat(l)
          }
        },
        s = function (n) {
          var t,
            e = Date.now() + 24 * n * 60 * 60 * 1e3,
            a = new Date(e).getDate()
          switch (new Date(e).getDay()) {
            case 1:
              t = '\u5468\u4e00'
              break
            case 2:
              t = '\u5468\u4e8c'
              break
            case 3:
              t = '\u5468\u4e09'
              break
            case 4:
              t = '\u5468\u56db'
              break
            case 5:
              t = '\u5468\u4e94'
              break
            case 6:
              t = '\u5468\u516d'
              break
            default:
              t = '\u5468\u65e5'
          }
          return { date: a < 10 ? '0' + a : a, week: t, ctime: e }
        },
        l = function (n) {
          switch (n) {
            case '\u65b0\u897f\u5170':
              return { img: 'flag_newzealand', name: 'NZD' }
            case '\u97e9\u56fd':
              return { img: 'flag_south_korea', name: 'KRW' }
            case '\u6fb3\u5927\u5229\u4e9a':
              return { img: 'flag_australia', name: 'AUD' }
            case '\u65e5\u672c':
              return { img: 'flag_japan', name: 'JPY' }
            case '\u5fb7\u56fd':
              return { img: 'flag_germany', name: 'EUR' }
            case '\u745e\u58eb':
              return { img: 'flag_switzerland', name: 'CHF' }
            case '\u9999\u6e2f':
              return { img: 'flag_china_hongkong', name: 'HKD' }
            case '\u897f\u73ed\u7259':
              return { img: 'flag_spain', name: 'EUR' }
            case '\u82f1\u56fd':
              return { img: 'flag_greatbritain', name: 'GBP' }
            case '\u610f\u5927\u5229':
              return { img: 'flag_italy', name: 'EUR' }
            case '\u52a0\u62ff\u5927':
              return { img: 'flag_canada', name: 'CAD' }
            case '\u7f8e\u56fd':
              return { img: 'flag_usa', name: 'USD' }
            case '\u4e2d\u56fd':
              return { img: 'flag_china', name: 'RMB' }
            case '\u53f0\u6e7e':
              return { img: 'flag_china_taiwan', name: 'TWD' }
            case '\u5370\u5ea6':
              return { img: 'flag_india', name: 'INR' }
            case '\u6cd5\u56fd':
              return { img: 'flag_france', name: 'EUR' }
            case '\u6b27\u6d32':
            case '\u6b27\u5143\u533a':
              return { img: 'flag_euro', name: 'EUR' }
            case '\u65b0\u52a0\u5761':
              return { img: 'flag_singapor', name: 'SGD' }
            case '\u8461\u8404\u7259':
              return { img: 'flag_portugal', name: 'EUR' }
            case '\u5965\u5730\u5229':
              return { img: 'flag_aodili', name: 'EUR' }
            case '\u5362\u68ee\u5821':
              return { img: 'flag_luxembourg', name: 'EUR' }
            case '\u8377\u5170':
              return { img: 'flag_netherlands', name: 'NLG' }
            case '\u4fc4\u7f57\u65af':
              return { img: 'flag_russia', name: 'RUB' }
            default:
              return { img: 'flag_national', name: 'BTC' }
          }
        },
        d = function (n, t) {
          if (window.sessionStorage)
            return window.sessionStorage.setItem(n, JSON.stringify(t))
        },
        g = function (n) {
          if (window.sessionStorage) {
            var t = window.sessionStorage.getItem(n)
            return t ? JSON.parse(t) : null
          }
          return null
        },
        h = function (n, t) {
          var e
          return (
            (n = Number(n)),
            (t = Number(t)),
            ''.concat(
              r.r$.download.app.includes(n)
                ? r.g0.download_app
                : r.r$.download.pc.includes(n)
                ? r.g0.download_web
                : n === r.r$.about
                ? r.g0.about
                : ''
                    .concat(
                      (null ===
                        (e = Object.values(r.Kc).find(function (n) {
                          return n.id === t
                        })) || void 0 === e
                        ? void 0
                        : e.path) || r.g0.analysis
                    )
                    .concat(n, '.html')
            )
          )
        },
        m = function (n, t) {
          var e, a
          return (
            (n = Number(n)),
            (t = Number(t)),
            {
              title: r.r$.download.app.includes(n)
                ? 'APP\u4e0b\u8f7d\u9875'
                : r.r$.download.pc.includes(n)
                ? 'PC\u4e0b\u8f7d\u9875'
                : n === r.r$.about
                ? '\u5173\u4e8e\u6211\u4eec'
                : (null ===
                    (e = Object.values(r.Kc).find(function (n) {
                      return n.id === t
                    })) || void 0 === e
                    ? void 0
                    : e.text) || '\u6bcf\u65e5\u5206\u6790',
              url: r.r$.download.app.includes(n)
                ? r.g0.download_app
                : r.r$.download.pc.includes(n)
                ? r.g0.download_web
                : n === r.r$.about
                ? r.g0.about
                : (null ===
                    (a = Object.values(r.Kc).find(function (n) {
                      return n.id === t
                    })) || void 0 === a
                    ? void 0
                    : a.listPath) || r.g0.navAnalysis,
            }
          )
        },
        f = {
          validate: {
            phone: /^(((1[3456789][0-9]{1})|(15[0-9]{1})|111)+\d{8})$/,
            password: /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,
            email:
              /^(?!\s+)[A-Za-z0-9_\-\.]+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
            captcha: /^\d{4}$/,
            chineseName: /^[\u4e00-\u9fa5]{1,15}$/,
            idDocumentNumber:
              /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/,
          },
          formatDate: u,
          getFomatDate: c,
          getDateMerge: s,
          nations: l,
          setSessionStore: d,
          getSessionStore: g,
          removeSessionStore: function (n) {
            window.sessionStorage && window.sessionStorage.removeItem(n)
          },
        }
      t.ZP = f
    },
    1780: function (n, t, e) {
      ;(window.__NEXT_P = window.__NEXT_P || []).push([
        '/_app',
        function () {
          return e(2551)
        },
      ])
    },
    2797: function () {},
    1163: function (n, t, e) {
      n.exports = e(9898)
    },
    4155: function (n) {
      var t,
        e,
        a = (n.exports = {})
      function r() {
        throw new Error('setTimeout has not been defined')
      }
      function i() {
        throw new Error('clearTimeout has not been defined')
      }
      function o(n) {
        if (t === setTimeout) return setTimeout(n, 0)
        if ((t === r || !t) && setTimeout)
          return (t = setTimeout), setTimeout(n, 0)
        try {
          return t(n, 0)
        } catch (e) {
          try {
            return t.call(null, n, 0)
          } catch (e) {
            return t.call(this, n, 0)
          }
        }
      }
      !(function () {
        try {
          t = 'function' === typeof setTimeout ? setTimeout : r
        } catch (n) {
          t = r
        }
        try {
          e = 'function' === typeof clearTimeout ? clearTimeout : i
        } catch (n) {
          e = i
        }
      })()
      var u,
        c = [],
        s = !1,
        l = -1
      function d() {
        s &&
          u &&
          ((s = !1), u.length ? (c = u.concat(c)) : (l = -1), c.length && g())
      }
      function g() {
        if (!s) {
          var n = o(d)
          s = !0
          for (var t = c.length; t; ) {
            for (u = c, c = []; ++l < t; ) u && u[l].run()
            ;(l = -1), (t = c.length)
          }
          ;(u = null),
            (s = !1),
            (function (n) {
              if (e === clearTimeout) return clearTimeout(n)
              if ((e === i || !e) && clearTimeout)
                return (e = clearTimeout), clearTimeout(n)
              try {
                e(n)
              } catch (t) {
                try {
                  return e.call(null, n)
                } catch (t) {
                  return e.call(this, n)
                }
              }
            })(n)
        }
      }
      function h(n, t) {
        ;(this.fun = n), (this.array = t)
      }
      function m() {}
      ;(a.nextTick = function (n) {
        var t = new Array(arguments.length - 1)
        if (arguments.length > 1)
          for (var e = 1; e < arguments.length; e++) t[e - 1] = arguments[e]
        c.push(new h(n, t)), 1 !== c.length || s || o(g)
      }),
        (h.prototype.run = function () {
          this.fun.apply(null, this.array)
        }),
        (a.title = 'browser'),
        (a.browser = !0),
        (a.env = {}),
        (a.argv = []),
        (a.version = ''),
        (a.versions = {}),
        (a.on = m),
        (a.addListener = m),
        (a.once = m),
        (a.off = m),
        (a.removeListener = m),
        (a.removeAllListeners = m),
        (a.emit = m),
        (a.prependListener = m),
        (a.prependOnceListener = m),
        (a.listeners = function (n) {
          return []
        }),
        (a.binding = function (n) {
          throw new Error('process.binding is not supported')
        }),
        (a.cwd = function () {
          return '/'
        }),
        (a.chdir = function (n) {
          throw new Error('process.chdir is not supported')
        }),
        (a.umask = function () {
          return 0
        })
    },
    9499: function (n, t, e) {
      'use strict'
      function a(n, t, e) {
        return (
          t in n
            ? Object.defineProperty(n, t, {
                value: e,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (n[t] = e),
          n
        )
      }
      e.d(t, {
        Z: function () {
          return a
        },
      })
    },
  },
  function (n) {
    var t = function (t) {
      return n((n.s = t))
    }
    n.O(0, [774, 179], function () {
      return t(1780), t(9898)
    })
    var e = n.O()
    _N_E = e
  },
])
